package com.beerandjesus.blackjack.ui.awt;

import java.awt.*;
import java.util.Observer;
import java.util.Observable;

/**
 * User: reverend
 * Date: Jul 13, 2005
 * Time: 1:14:32 AM
 */
public abstract class ObserverButton extends Button implements Observer {

    public ObserverButton() {
        super();
    }
    public ObserverButton(String label, Observable observable) {
        super(label);
        observable.addObserver(this);
    }

    public abstract void update(Observable observable, Object o);
}
